package interfaccia;
import java.rmi.*;
import java.util.Vector;
public interface IBase extends Remote{
	public String nomeBase() throws RemoteException;
	public void parcheggia(IAutotreno autotreno) throws RemoteException;
	public boolean lasciaParcheggio(IAutotreno autotreno) throws RemoteException;
	public void aggiungiConsegna(IBase destinatario,int quantita) throws RemoteException;
	public Vector<IAutotreno> listaAutotreni() throws RemoteException;
	public String listaAutotreniString() throws RemoteException;
	public void segnalaViaLibera(IBase base) throws RemoteException;
	public String codaLavoriString() throws RemoteException;
	public void interrompiAttivita()throws RemoteException;
	public void quit() throws RemoteException;
	public boolean ciSei() throws RemoteException;
}



